package com.CmJava.sqlSessionFactoryBuilder.sqlSessionFactory.configuration.mapperConfig.statementMap;

import com.CmJava.sqlSessionFactoryBuilder.sqlSessionFactory.configuration.mapperConfig.parameterMap.ParameterMap;
import com.CmJava.sqlSessionFactoryBuilder.sqlSessionFactory.configuration.mapperConfig.resultMap.ResultMap;
import org.apache.ibatis.mapping.ResultSetType;
import org.apache.ibatis.mapping.SqlSource;

import java.util.List;

public class MappedStatement {
    private ParameterMap parameterMap;
    private ResultMap resultMaps;
    private String sql;

    public MappedStatement(ParameterMap parameterMap, ResultMap resultMaps, String sql) {
        this.parameterMap = parameterMap;
        this.resultMaps = resultMaps;
        this.sql = sql;
    }

    public ParameterMap getParameterMap() {
        return parameterMap;
    }

    public void setParameterMap(ParameterMap parameterMap) {
        this.parameterMap = parameterMap;
    }

    public ResultMap getResultMaps() {
        return resultMaps;
    }

    public void setResultMaps(ResultMap resultMaps) {
        this.resultMaps = resultMaps;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }
}
